xend: Check access to the privcmd interface before doing the call to
authorKeir Fraser <keir@xensource.com>
Wed, 3 Oct 2007 13:06:06 +0000 (14:06 +0100)
committerKeir Fraser <keir@xensource.com>
Wed, 3 Oct 2007 13:06:06 +0000 (14:06 +0100)
commit905654ba5499f21c698aff01d71ed98fa42c83f5
tree3ea713014a559221ac99f4f73748c0e6c70990fb
parent8950f5c6ba8e2349de4162af6f09f36c80670cf7
xend: Check access to the privcmd interface before doing the call to
fetch the currently enforced policy. Assign 'INACCESSIBLE' to the
policy if it cannot be retrieved due to the user not being
privileged.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/util/xsm/acm/acm.py
tools/python/xen/xm/labels.py